//
//  Student.h
//  SQL演练
//
//  Created by Guo Rui on 2017/10/25.
//  Copyright © 2017年 GR Harry. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface Student : NSObject
@property (copy, nonatomic) NSString *name;
@property (assign, nonatomic) NSInteger age;
@property (assign, nonatomic) CGFloat score;

+ (instancetype)name:(NSString *)name age:(NSInteger)age score:(CGFloat)score;
- (BOOL)insertToTable;
- (BOOL)deleteFromTable;
+ (BOOL)updateWithStudent:(Student *)student;
@end
